
<div class="enbac-bound">
<span style="display:block;" id="advanced_search_template">
	<table cellpadding="4" width="100%" class="enbac-form-bound">
	<tr>
		<td width="41%"  class="enbac-form-title" style="font-size:18px"><a href="category.html"><strong>Quản trị giao dịch hot</strong></a></td>
        <td align="right"><a href="javascript:void(0);" onclick="{literal}if(!confirm('Update lại produc hot ?')) return false; document.location.href='manage_product_hot.html?cmd=update';{/literal}"><img alt="Delete" src="style/images/admin/cancel_f2.png" hspace="10" class="icon_cmd" align="absmiddle"/> Xoá cache produc hot</a></td>
    </tr></table>
</span>
<div class="form_bound">
<div class="form_content">
		<table width="100%" cellpadding="0" cellspacing="0" border="1" style="border-collapse:collapse" bordercolor="#C3C3C3">
		<thead>
			<tr  valign="middle" bgcolor="#E6E6E6" style="line-height:20px;height:30px">				
			  <th align="center" width="30" >ID</th />				
			  <th width="181" align="left" nowrap>T&ecirc;n	danh	m&#7909;c</th>
			  <th align="center" nowrap>Item</th>								
		      <th align="center" nowrap width="200">Item trả tiền</th>
		  </tr>
		  </thead>
		  <tbody>
          
			{foreach from=$items item=items key=key}
            	
            	 <tr bgcolor="{cycle values='#F7F7F7,#ffffff'}" valign="middle" {$hover} style="cursor:hand;" id="Category_tr_{$key}">
                       <td  align="center" style="padding:7px">{$key}</td>
                       
                       <td align="left" nowrap style="padding:7px"><strong>{$items.cat_name}</strong></td>
                      <td align="left"  style="padding:7px" >
                      	{if $items.item}
                        <div id="list_item_product_hot{$key}">
                        <div style="float:left;width:95%">
                        	{foreach from=$items.item item=item_norman key=key_item name=item_norman}
                            	{$key_item}
                                {if !$smarty.foreach.item_norman.last}, {/if}
                            {/foreach}
                         </div>
                         <div style="float:right; width:5%;" align="right">
                         	[<a title="xoá toàn bộ id sản phẩm" href="javascript:void(0)" onclick="del_product_hot({$key});">Xoá</a>]
                         </div>
                         <div style="clear:both"><span></span></div>
                         </div>
                        {/if}
                      </td>
                        
                      <td align="left" nowrap  style="padding:7px">
                      {if $items.item_vip}
                        	{foreach from=$items.item_vip item=item_vip key=key_vip name=item_vip}
                            	<span id="{$item_vip.cat_id}_{$key_vip}" onMouseOut="hidetip();" onMouseOver="showtip('Từ : <strong>{$item_vip.start_time}</strong> - Đến : <strong>{$item_vip.end_time}</strong>');">{$key_vip} - [<a title="xoá id này" href="javascript:void(0)" onclick="del_item_product_hot({$key_vip},{$item_vip.cat_id});">Xoá</a>]
                                {if !$smarty.foreach.item_vip.last}, {/if}</span>
                            {/foreach}
                        {/if}
                      </td>
                    
                  </tr>
                  
			{/foreach}
			</tbody>
	  </table>
	    
	</div>
</div>
</div>
<input type="hidden" name="cmd" id="cmd" value="" />